Linux Software

The software supplied in this section is for use with the Linux operating system. Each month we will be bringing a selection of latest releases to you on the SuperCD.

This month in the magazine you'll find the last part of a tutorial on using Linux and, of course, our regular Linux review in the OS World section. As well as this, there is a collection of software for Linux on this SuperCD and a special tutorial on compiling the kernel in the Hands On section of the other SuperCD this month. Don't forget that next month sees the start of our new monthly Linux Workshop in the magazine.

Here in this section, you'll find Linux software, and this month we have over 100Mbs! To use the software on this SuperCD you need to copy it to your hard drive and de-compress it. The files have had to be distributed in this manner in order to comply with distribution agreements.


Contents:

  • ML Works 2
  • C-Forge 1.1
  • Code Crusader 1.1
  • Eznet
  • Gimp 1.02 plus Manual
  • Moodss 5
  • Netscape Communicator 4.5
  • Developers' Corner


    MLWorks 2 Personal Edition - Full software
    WWW:
    http://www.harlequin.com/ and http://www.harlequin.com/devtools/ml

    Standard ML (SML) is one of the most influential programming languages in use today. It combines the flexibility of interactive development, polymorphic typing, and imperative programming with the robustness of functional programming, statically-inferred types, and a powerful module system. MLWorks is Harlequin's implementation of SML. It delivers the power of SML in a modern professional programming environment.

    Harlequin is the only global vendor to offer a fully supported, commercial SML development environment.

    SML has a sophisticated module system and a polymorphic type system. These provide many of the advantages of object-oriented languages with the added security of a static type system. Automatic storage reclamation makes SML programs more robust while reducing the load on the programmer. The option of interactive development makes programmers more productive, and the comprehensive exception mechanism simplifies debugging.

    Harlequin MLWorks is being made available in Personal and Professional Editions. To encourage widespread evaluation of the benefits of SML programming, the Personal Edition is being made available free of charge on this SuperCD. In addition, the Professional Edition of MLWorks 2.0 is being offered at a special introductory price of $199 for Windows 95/NT and Linux, and $350 for Solaris and Irix.

    MLWorks 2 Personal Edition program: See MLWorks 2 page

    Red Hat and S.u.S.E.
    linux/mlworks2/ml20rh50.rpm. Copy to your drive and de-compress it to install it.

    Other versions of Linux
    linux/mlworks2/Linux.tar. Copy to your drive and de-compress it to install it.

    Tutorial
    linux/mlworks2/tutorial_tar.Z. Copy to your drive and de-compress it to install it.

    Back to Contents


    screenshot Code Crusader 1.1.0 - Full Software
    UNIX Development Environment
    WWW:
    http://www.cco.caltech.edu/~jafl/jcc/

    Code Crusader is a complete code development environment, inspired by MetroWerks CodeWarrior. It can run on any UNIX machine that uses the X Window System.

    Features

  • Integrates with Code Medic to provide rapid, efficient develop-debug cycle. Note: Code Medic can be found in the linux\developers\codemedi folder on this SuperCD. The software in the \developers folder is in beta release, meaning it may contain bugs. We include it so people who want to evaluate pre-release software and participate debugging process may do so. Use it at your own risk.
  • Integrated support for make
  • Hypertext-like interface to UNIX man pages
  • Graphical display of C++ inheritance hierarchy
  • Fast text editor
  • Option to use other text editor (e.g. emacs or vi) if you don't like the built-in one.
  • Multiple Document Interface
  • Project support
  • All configuration done via dialog windows instead of config files
  • Hypertext on-line help
  • API's for extending Code Crusader

    Click here to read more about Code Crusader

    Programs:
    linux/interbase/code_crusader_shared-1_1_0_tar.gz. Copy to your drive and de-compress it to install it.
    RedHat & S.u.S.E: linux/codecrusader/code_crusader-1_1_0-1_i386.rpm. Copy to your drive and de-compress it to install it.

    Source Code:
    linux/codecrusader/code_crusader_source-1_1_0_3_tar.gz. Copy to your drive and de-compress it to install it.
    RedHat & S.u.S.E: linux/codecrusader/code_crusader-1_1_0-1_src.rpm. Copy to your drive and de-compress it to install it.

    Back to Contents


    Eznet: A Simpler Way To Do PPP - Full Program

    Let's face it: setting up PPP under Linux can be intimidating, especially for newbies. Between chat scripts and a zillion options to pppd, setting up PPP can be a hassle for experienced users. It's a wonder beginners are able to do it at all.

    Eznet is a new program designed to make it much easier to get PPP running under Linux. Basically all you have to do is supply a name for your ISP, a login name, password and phone number and eznet will do the rest. There are not configuration files to edit, no chat scripts to design and no need to figure out what a "chap-secret" is.

    Check out how simple it is.

    Installation

    The eznet program is completely contained in a single C source file linux/eznet/eznet.c. Copy this file to your drive.
    You can compile and install it as follows:

    gcc -o /usr/bin/eznet -O eznet.c chown root.root /usr/bin/eznet chmod 04755 /usr/bin/eznet

    The eznet executable must reside in the directory /usr/bin. It won't work if you install it someplace else. If you need to install eznet elsewhere, change the value of the SELF #define near the top of the source file and recompile.

    Eznet does not need to be suid. But if it isn't, then only root will be able to initiate a PPP connection. Eznet takes care to drop its root privileges as soon as possible so it should be fairly safe as a suid program. It is certainly easier to use that way.

    Copyright And Licence

    Eznet is free software; you can redistribute it and/or modify it under the terms of the http://www.harlequin.com/ and GNU General Public Licence as published by the http://www.harlequin.com/ and Free Software Foundation; either version 2 of the License, or (at your option) any later version.

    Eznet is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the http://www.harlequin.com/ and GNU General Public License for more details.

    Author Contact Information

    Eznet is written and maintained by http://www.harlequin.com/ and D. Richard Hipp. If you have questions or comments, send him e-mail at drh@acm.org. The eznet home page is http://www.harlequin.com/ and http://www.hwaci.com/sw/eznet/.

    Back to Contents


    The GIMP 1.02 plus Manual

    WWW:
    http://www.gimp.org/
    If there's one thing Linux programmers all do, it's continuously release new and better versions of their software. We first ran the Gimp on the SuperCD which included S.u.S.E Linux, and since then it's been through a couple of revisions. Here's the latest version, along with the 14Mb manual, in case you missed it's inclusion on last month's CD. It's a PDF file, so you'll need to use Adobe Acrobat to read the document. We're also including the HTML version of the manual, and a selection of calibration images.

    The GIMP Program files:
    linux/gimp102/gimp-1_0_2_tar.gz
    linux/gimp102/gimp-data-extras-1_0_0_tar.gz

    The GIMP manual PDF format linux/gimpmanual/GimpUserManual-1.0.0.pdf. Copy to your drive and read with Adobe Acrobat.
    The GIMP manual PDF format (HTML): linux/gimpmanual/GimpUserManual-1.0.0-html.tar.bz2. Copy to your drive and de-compress it to install it.
    Calibration Images:
    linux/gimpmanual/GUM_Pre-Press_Calibration_Images.tar.bz2. Copy to your drive and de-compress it to install it.

    Back to Contents


    MOODSS
    (Modular Object Oriented Dynamic SpreadSheet)
    WWW:
    http://www.mygale.org/~jfontain/

    Quite often, one needs to monitor changing data, whether it might come from a system, such as the different processes running on a Unix server, or from a network, such as the kind and volume of traffic that runs through it.

    Most often, such data can be organized in a table with rows of information, each column representing a different type of data. For example, in the case of processes running on a system, rows might be sorted according to their unique process identifier, and columns might represent such values as CPU usage, memory usage, owner's name, time of creation, ...

    The software used to view this type of information comes in different forms and shapes. Unix users might be familiar with the "top" application which presents rows of process data as lines of text, whereas RMON (Remote MONitoring) SNMP software usually uses multiple windows with graphical displays, curves, pie charts, multiple configuration dialog boxes, even 3D visualization modules to present network traffic, connection matrices, ...

    In most cases, data comes from one or several tables. A common interface, graphical with menus, drag'n'drop capability, table widgets, textual and graphical data viewers such as multiple line graphs, bar and pie charts, could be used. The user could then sort table rows, select one or more cells, rows, columns, to launch viewers such as other tables, charts, ... best suited to the way data should be presented. In effect, what is needed is a spreadsheet that is capable of dealing with dynamically changing data.

    Moodss (Modular Object Oriented Dynamic SpreadSheet) is an attempt at answering these needs. It is composed of a main part (the core) and an unlimited number of modules, loaded as the application is launched, each module interfacing to a specific type of data. The core is written in the great Tcl language (at http://www.harlequin.com/ and http://www.scriptics.com/) using object oriented techniques thanks to the stooop and scwoop packages (at http://www.harlequin.com/ and http://www.mygale.org/~jfontain/). The module function is to describe the type of data that it is also in charge of retrieving and formatting. Modules can be written in plain Tcl or C and optionally use dynamically linked libraries written in the C language (modules are packages in the Tcl sense).

    Modules are loaded when moodss is started. One or more modules can be handled concurrently (starting with moodss version 3.0). This way, you may monitor data coming from any number of heterogeneous sources. Module names are specified in the command line and cannot be dynamically unloaded.

    Versions 4.0 and up add a dashboard functionality: the current configuration (modules, viewers, poll time, windows sizes and placement, ...) can be saved in a file at any time, for later reuse (see the -f (--file) command line switch documentation).

    Versions 4.3 and up support asynchronous modules (no polling needed as module data may change on its own). Note that any number of asynchronous and regular (synchronous) modules can be simultaneously loaded.

    Since module data access is entirely customizable (through C code, Tcl, HTTP, ...) and since several modules can be loaded at once, applications for moodss become limitless. For example, comparing a remote database server CPU load and a network load from a probe on the same graph becomes possible.

    As features are added to moodss, different ways of viewing data will be made available while the modules will stay the same. The goal of moodss is to become a nice feature packed generic way of viewing data. Moodss can be used to monitor any type of data, since the simplest cases can fit in a table with a single row.

    As moodss is written in Tcl and uses well supported extensions (Tktable and BLT), it will run on most Tcl/Tk supported platforms: UNIX and Windows (I do not know if Tktable and BLT are available for the MacIntosh). Some modules may be specific to a platform, but the core is guaranteed to run on them all.

    Click here to read more about moodss

    Installation

    linux/moodss5/moodss-5_0_tar.tar. Copy to your drive and de-compress it to install it.
    RedHat & S.u.S.E: linux/moodss5/moodss-5_0-2_i386.rpm. Copy to your drive and de-compress it to install it.

    A module is a package in the Tcl sense. When writing a module, you must then provide a pkgIndex.tcl file along with the module code file. The pkgIndex.tcl file is very simple, as the following example shows:

    package ifneeded random 1.1 "source [file join $dir random.tcl]"

    The line above says that if the random package is needed, the Tcl core should source the random.tcl module source code from the directory where it was installed. 1.1 is the version number for the package.

    Modules can be installed at any valid place that the Tcl core allows (look at the pkg_mkIndex manual page for more information).

    When you unpack moodss, you will find the sample modules in sub directories. The current directory (.) is appended to the auto_load global list variable so that sample modules can be found when moodss is run from the unpacking directory.

    For example, if you unpacked moodss in /home/joe/moodss-5.x/, you will find the random module package in /home/joe/moodss-5.x/random/ so that the following will work:

    $ cd /home/joe/moodss-5.x/ $ wish moodss random

    You can install your new modules in the default location: /usr/local/lib/ on Unix. For example, if you move the files in /home/joe/moodss-4.x/random/ to /usr/local/lib/random/, moodss (actually Tcl :) will still be able to find the random module (again, look at the pkg_mkIndex manual page for more information).

    Please take a look at the INSTALL file for the latest information on how to install the moodss application itself.

    Back to Contents


    C-Forge 1.1
    WWW:
    http://www.codeforge.com

    C-Forge (pronounced "Code Forge") is a multi-user integrated development environment that provides full project management and complete edit/compile/debug cycle support delivering a clear and intuitive user interface. The version on this disk supports C and C++.

    IDEs have been common place on Windows for some time but haven't been taken up in the Unix world with such enthusiasm. The most common development environment under Unix is probably Emacs. In many senses Emacs is an IDE, it will perform context highlighting for many languages and can compile and run applications within the editor.

    For more information on this release of Code Forge, be sure to look at the ReadMe. Refer to the Web site for information on the commercial version, which has many enhanced features. You can find a review of the latest commercial version of Code Crusader in this month's OS World in the magazine.

    Installation:

    If you don't have Motif-2.x libraries installed on your computer, you will have to use the statically linked package versions.

  • libc.so.5.4.38 or higher or glibc
  • loopback device (lo) is required for C-Forge to communicate with its servers.

    Red Hat or S.u.S.E

    If your original Motif library installations were not from RPM packages you will have to to use the '--nodeps' option of 'rpm' utility to install C-Forge with dynamically linked Motif-2.x.

    RPM packages are relocatable and you may install C-Forge where you wish using the '--prefix <dir>' option of the 'rpm' utility. The default directory is

    /usr/local/lib/C-Forge.

    The RPM library dependency check my fail on some older library collections. If this occurs try installing using the --nodeps flag.

    If you have Motif-2.x libraries installed:
    linux/cforge/C-Forge-1_1d-6_glibc_i386.rpm. Copy to your drive and de-compress it to install it.
    linux/cforge/C-Forge-1_1d-6_i386.rpm. Copy to your drive and de-compress it to install it.
    linux/cforge/C-Forge-1_1d-6_i386.rpm. Copy to your drive and de-compress it to install it.

    Help files:
    linux/cforge/C-Forge-help-1_1d-6_i386.rpm. Copy to your drive and de-compress it to install it.

    If you don't have Motif-2.x libraries installed:
    linux/cforge/C-Forge-static-1_1d-6_glibc_i386.rpm. Copy to your drive and de-compress it to install it.
    linux/cforge/C-Forge-static-1_1d-6_i386.rpm. Copy to your drive and de-compress it to install it.

    For other version of Linux

    If you have Motif-2.x libraries installed:
    linux/cforge/C-Forge-1_1d-6_i386_tar.gz. Copy to your drive and de-compress it to install it.

    If you don't have Motif-2.x libraries installed:
    linux/cforge/C-Forge-static-1_1d-6_i386_tar.gz. Copy to your drive and de-compress it to install it.

    The last two packages (with 'tar.gz' extensions) contain the installation script ('install.sh'). Just extract the file with the following command:

    'tar xopzvf C-Forge-xxx.tar.gz install.sh'

    and then run

    'install.sh C-Forge-xxx.tar.gz'.

    During installation you will be asked for a directory where install the package. The default directory is /usr/local/lib/C-Forge. If installation directory already exists then all files in the there will be deleted before by the installation script.

    Back to Contents


    Netscape Communicator 4.5
    WWW:
    http://www.netscape.com/

    Netscape Communicator 4.5, the first major release of Netscape's award-winning Internet client software this year, is the first version of Netscape's popular client that integrates seamlessly with Netcenter services such as new Smart Browsing capabilities and streaming multimedia content - available soon on Netcenter channels. Netscape Communicator 4.5 software also includes several advanced features including high-performance email, centralized management capabilities for IT departments and improved support for mobile users.

    See the Netscape page on this SuperCD for more information.

    Installation:

    Copy linux/netscape/communicator-v45-export_x86-unknown-linux2_0_tar.gz to your drive and de-compress it to install it.

    Back to Contents


    Developers' Corner

    The programs contained in the linux/developers folder on this CD are in beta release. This means they may function just fine, they may contain small bugs or they might just crash your beloved system. If you've never heard the word 'beta' before, or if you are allergic to things not functioning as advertised, you are definitely in the wrong place. If, however, you enjoy trying products before they hit the market, are one of the rare breed who actually back up their system regualarly, and want to participate in the debugging and development cycle, then check out the linux/developers folder where you'll find betas of KOffice, KSaig, Visual TCL and CodeMedic. But don't say you haven't been warned.

    Each folder contains the .tar file for the program. Copy it to your hard drive and decompress it there to install the program. There may also be .htm or .txt files. Read them before installing.

    In this issue:

  • KOffice
  • KSiag
  • Visual Tcl
  • Code Medic

    Enjoy!

    Back to Contents